package com.breaktian.demoapp.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.breaktian.demoapp.R;
import com.breaktian.demoapp.provider.BaseProvider;
import com.breaktian.demoapp.ui.base.BaseActivity;

public class TestSecurityActivity extends BaseActivity {

    private TextView text;
    private Button button1;
    private Button button2;
    private String textStr;
    private String key = "aaaaaaaa";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test_security);
        showToolbar("加密解密");
        textStr = "我爱你";
        text = (TextView)findViewById(R.id.text);
        text.setText(textStr);
        button1 = (Button)findViewById(R.id.button1);
        button1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
            }
        });
        button2 = (Button)findViewById(R.id.button2);
        button2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
            }
        });


    }

    @Override
    protected BaseProvider getProvider() {
        return null;
    }
}
